= simple_form_for(@carousel, html: { class: 'form-horizontal' }) do |f|
  %table.table.table-condensed.table-striped{style: "text-align: center;vertical-align:middle"}
    %tr
      %td 上传轮显图
      %td= f.input_field :picture_src, as: :file
    %tr
      %td 链接
      %td= f.input_field :picture_link, class: 'form-control'
    %tr
      %td{colspan: 2}
        .pull-right
          = link_to '取消', carousels_path, class: 'btn btn-default'
          = f.submit '保存', class: 'btn btn-primary'

